#ifndef _SQUARELINE_PROJECT_UI_H
#define _SQUARELINE_PROJECT_UI_H

#ifdef __cplusplus
extern "C"
{
#endif

#include "lvgl.h"

#include "ui_helpers.h"
    // #include "ui_events.h"

    // SCREEN: ui_Screen1

    extern lv_obj_t *ui_Screen1;
    extern lv_obj_t *ui_imgGaugeBg;
    extern lv_obj_t *ui_imgNeedle;
    extern lv_obj_t *ui_Arc1;
    // CUSTOM VARIABLES

    // EVENTS

    extern lv_obj_t *ui____initial_actions0;

    // IMAGES AND IMAGE SETS

    // UI INIT
    void ui_init(void);
    void ui_Screen1_screen_init(void);
    void needle_Animation(lv_obj_t *TargetObject, int delay);
    void update_rpm_ui(int rpm);

    void ui_set_water_temp_color(uint8_t color);
    void ui_set_safety_belt_color(uint8_t color);
    void ui_set_light_color(uint8_t color);
    void ui_set_turn_light_color(uint8_t color);

    void ui_set_date2time(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t ampm);
#ifdef __cplusplus
} /*extern "C"*/
#endif

#endif
